<!-- $Id: agency_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->

{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}

<form method="post" action="" name="listForm" onsubmit="return confirm(batch_drop_confirm);">
<div class="list-div" id="listDiv">
{/if}

  <table cellpadding="3" cellspacing="1">
    <tr>
      <th>{$lang.supplier_name}</th>
      <th>{$lang.supplier_rank}</th>
      <th>{$lang.supplier_tel}</th>
	  <th>{$lang.system_fee}</th>
	  <th>{$lang.supplier_bond}</th>
	  <th>{$lang.supplier_rebate}</th>
	  <th>{$lang.supplier_remark}</th>
	  <th>状态</th>
      <th>{$lang.handler}</th>
    </tr>
    {foreach from=$supplier_list item=supplier}
    <tr>
      <td class="first-cell" style="padding-left:10px;" >{$supplier.supplier_name}</td>
      <td >{$supplier.rank_name} </td>
      <td>{$supplier.tel}</td>
	  <td align="center">{$supplier.system_fee}</td>
	  <td align="center">{$supplier.supplier_bond}</td>
	  <td align="center">{$supplier.supplier_rebate}</td>
	  <td align="center">{$supplier.supplier_remark}</td>
	  <td align="center">{$supplier.status_name}</td>
      <td align="center">
        <a href="supplier.php?act=edit&id={$supplier.supplier_id}" title="{$lang.view}">{$lang.view}</a></td>
    </tr>
    {foreachelse}
    <tr><td class="no-records" colspan="4">{$lang.no_records}</td></tr>
    {/foreach}
  </table>
<table id="page-table" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
    <td align="right" nowrap="true">
    {include file="page.htm"}
    </td>
  </tr>
</table>

{if $full_page}
</div>
</form>

<script type="text/javascript" language="javascript">
  <!--
  listTable.recordCount = {$record_count};
  listTable.pageCount = {$page_count};

  {foreach from=$filter item=item key=key}
  listTable.filter.{$key} = '{$item}';
  {/foreach}

  {literal}
  onload = function()
  {
      // 开始检查订单
      startCheckOrder();
  }
  {/literal}
  //-->
</script>
{include file="pagefooter.htm"}
{/if}